package com.weimob.demo.configuration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Getter;
import lombok.Setter;



/**
 * Created by junxiao on 2017/1/1.
 */
@Getter
@Setter
@ConfigurationProperties
public class AppProperties {

    @Value("${shiro.session.timeout}")
    private long sessionTimeout;

    @Value("${web.static}")
    private String webStatic;
}
